package com.sealer.pattern.structural.decorator.decorator;

import com.sealer.pattern.structural.decorator.widget.Widget;

/**
 * Created by sealer on 17/04/01.
 */
public abstract class Decorator implements Widget {
    private Widget widget;

    public Decorator(Widget widget) {
        this.widget = widget;
    }

    public void draw() {
        widget.draw();
    }


}
